<template>
	<div class="city-sort">
		<div class="sort-title">字母排序</div>
		  <ul class="sort-list">
		   <li v-for="(item,index) in city">{{item.initial}}</li>
		  </ul>
	</div>
</template>

<script>
	export default {
		props:['city'],
		data() {
			return {
				
			}
		},
	}
</script>

<style scoped >
	.city-sort{
		width: 100%;
		font-size: 0.28rem;
	}
	.sort-title{
		padding: 0.2rem 0.3rem;
		text-align: left;
	}
	.sort-list{
		background-color: white;
		color: #212121;
		position: relative;
		overflow: hidden;
	}
	/* .sort-list:before{
		content: "";
		position: absolute;
		border-left: 1px solid #ddd;
		border-right: 1px solid #ddd;
		width: 33.33%;
		height: 100%;
		left: 33.33%;
	} */
	.sort-list li{
		width: 16.66%;
		height: 0.9rem;/*45px*/
		float: left;
		line-height: 0.9rem;
	}
</style>

